package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelBOConverter {

    SubjectLabelBOConverter Instance = Mappers.getMapper(SubjectLabelBOConverter.class);

    SubjectLabel subjectLabelBOToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> LabelToBOList(List<SubjectLabel> subjectLabelList);
}
